import { httpDelete, httpGet, httpPost, httpPut } from "../utils/http"


// 获取标签
export const findServeApi = (data) => {
    return httpGet('/servicePacks/types', data)
}


// 新增服务记录
export const addServeApi = (data) => {
    return httpPost('/services/add', data)
}
// 查询服务记录
export const searchServeApi = (data) => {
    return httpPost('/services/search', data)
}
// 修改服务记录
export const updaServeApi = (data) => {
    return httpPut('/services/update', data)
}

// 获取一个服务记录
export const detaServeApi = (data) => {
    return httpGet('/services/detail', data)
}

// 获取完整服务详情
export const getServeApi = (data) => {
    return httpGet('/services/fullDetail', data)
}

// 修改服务记录状态
export const checkServeApi = (data) => {
    return httpPut('//services/check', data)
}
